package com.ruoyi.patrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 行政人员对象 pt_staff
 *
 * @author lkm
 * @date 2022-11-14
 */
public class PtStaff extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 行政人员ID
     */
    private Long id;

    /**
     * 姓名
     */
    @Excel(name = "姓名（必填）")
    private String staffName;

    /**
     * 身份证号码
     */
    @Excel(name = "身份证号码")
    private String staffIdcard;

    /**
     * 性别（0：男，1：女，2：未知）
     */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知",combo = {"男", "女"})
    private String staffSex;

    /**
     * 工龄
     */
    @Excel(name = "工龄")
    private Integer staffWorkAge;

    /**
     * 籍贯
     */
    @Excel(name = "籍贯（格式：xx省xx市xx区/县）", width = 32)
    private String staffNativePlace;

    /**
     * 职务
     */
    @Excel(name = "职务（必填）")
    private String staffPost;

    /**
     * 电话号码
     */
    @Excel(name = "电话号码（必填）")
    private String staffPhonenumber;

    /**
     * 政审情况
     */
    @Excel(name = "政审情况（必填）",combo = {"合格","不合格"})
    private String staffPoliticalExamine;

    /**
     * 身体状况
     */
    @Excel(name = "身体状况（必填）",combo = {"健康","亚健康","疾病"})
    private String staffPhysicalCondition;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;

    /**
     * 学校ID
     */
    private Long schoolId;

    /**
     * 学校名称
     */
    private String schoolName;

    public Long getSchoolGroupId() {
        return schoolGroupId;
    }

    public void setSchoolGroupId(Long schoolGroupId) {
        this.schoolGroupId = schoolGroupId;
    }

    private Long schoolGroupId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffIdcard(String staffIdcard) {
        this.staffIdcard = staffIdcard;
    }

    public String getStaffIdcard() {
        return staffIdcard;
    }

    public void setStaffSex(String staffSex) {
        this.staffSex = staffSex;
    }

    public String getStaffSex() {
        return staffSex;
    }

    public void setStaffWorkAge(Integer staffWorkAge) {
        this.staffWorkAge = staffWorkAge;
    }

    public Integer getStaffWorkAge() {
        return staffWorkAge;
    }

    public void setStaffNativePlace(String staffNativePlace) {
        this.staffNativePlace = staffNativePlace;
    }

    public String getStaffNativePlace() {
        return staffNativePlace;
    }

    public void setStaffPost(String staffPost) {
        this.staffPost = staffPost;
    }

    public String getStaffPost() {
        return staffPost;
    }

    public void setStaffPhonenumber(String staffPhonenumber) {
        this.staffPhonenumber = staffPhonenumber;
    }

    public String getStaffPhonenumber() {
        return staffPhonenumber;
    }

    public void setStaffPoliticalExamine(String staffPoliticalExamine) {
        this.staffPoliticalExamine = staffPoliticalExamine;
    }

    public String getStaffPoliticalExamine() {
        return staffPoliticalExamine;
    }

    public void setStaffPhysicalCondition(String staffPhysicalCondition) {
        this.staffPhysicalCondition = staffPhysicalCondition;
    }

    public String getStaffPhysicalCondition() {
        return staffPhysicalCondition;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("staffName", getStaffName())
                .append("staffIdcard", getStaffIdcard())
                .append("staffSex", getStaffSex())
                .append("staffWorkAge", getStaffWorkAge())
                .append("staffNativePlace", getStaffNativePlace())
                .append("staffPost", getStaffPost())
                .append("staffPhonenumber", getStaffPhonenumber())
                .append("staffPoliticalExamine", getStaffPoliticalExamine())
                .append("staffPhysicalCondition", getStaffPhysicalCondition())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("schoolId", getSchoolId())
                .toString();
    }
}
